<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<ul>
    <?php
    foreach ($data as $value) {
        $url = url('node/' . $value->nid, array('absolute' => true));
        ?>
        <li><a href="<?php print $url; ?>"><?php print $value->title; ?></a></li>
        <?php
    }
    ?>
</ul>
